#pragma once
#include "elementfactory.h"
#include "Sapo.h"
#include "Log.h"
#include "XMLElement.h"
#include "FactoryUtil.h"

using namespace std;

class SapoFactory : public ElementFactory {

	/*--------------Constructores----------------------*/			
	
	public: SapoFactory();
	
	/*----------------Atributos-------------------------*/		
	
	public:	virtual Element* createElement(XMLElement*);
	
	private: Log* log;

	private: FactoryUtil* factoryUtil;
	
	private: Sapo* cretaeSapo(XMLElement*);	
	
	/*-------------Getters & Setters--------------------*/		
	
	public: FactoryUtil* getFactoryUtil();

	public: void setFactoryUtil(FactoryUtil*);
	
	/*-----------------Destructor-----------------------*/			
	public: ~SapoFactory();
};
